package org.apache.jsp.platform.finance.report;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class exchange_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(5);
    _jspx_dependants.add("/taglib.jsp");
    _jspx_dependants.add("/WEB-INF/tld/fmt.tld");
    _jspx_dependants.add("/WEB-INF/tld/fn.tld");
    _jspx_dependants.add("/WEB-INF/tld/c.tld");
    _jspx_dependants.add("/WEB-INF/tld/xw.tld");
  }

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	response.setHeader("progma", "no-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<html lang=\"zh-cn\">\r\n");
      out.write("<head>\r\n");
      out.write("  <meta charset=\"utf-8\">\r\n");
      out.write("  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n");
      out.write("  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\r\n");
      out.write("  <title>51家庭管家</title>\r\n");
      out.write("\r\n");
      out.write("  <!-- Bootstrap -->\r\n");
      out.write("   <link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/css/tab-fix.css\" rel=\"stylesheet\">\r\n");
      out.write("   \t<link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/css/admin-service-detail.css\" rel=\"stylesheet\">\r\n");
      out.write("\t<link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/css/work-common.css\" rel=\"stylesheet\">\r\n");
      out.write("\t<link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/css/admin-default-info.css\" rel=\"stylesheet\">\r\n");
      out.write("\t<link href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/plugins/fileupload/fileupload.css\" rel=\"stylesheet\">\r\n");
      out.write("</head>\r\n");
      out.write("<body style=\"width:500px; hegiht:300px;' overflow-x:hidden;\" path=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${path}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\">\r\n");
      out.write("<header>\r\n");
      out.write(" ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/platform/include/page_edit_head.jsp" + (("/platform/include/page_edit_head.jsp").indexOf('?')>0? '&': '?') + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("title", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("红冲", request.getCharacterEncoding()), out, false);
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("  </header>\r\n");
      out.write("  <div class=\"container-fluid clearfix\">\r\n");
      out.write("    <div class=\"main-container\" id=\"mainContainer\">\r\n");
      out.write("       <form role=\"_editForm form\" id=\"sub_from\" action=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/finance/report/consumer/save_exchange\" data-validate=\"true\"  >\r\n");
      out.write("\t\t<input type=\"hidden\" name=\"consumerid\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${consumer.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" data-title=\"\" data-format=\"_required\" />\r\n");
      out.write("\t   <div class=\"cm-pd10 info-panel cm-f14\">\r\n");
      out.write("\t      <table id=\"cm-w100p\" class=\"content-item bt0 mt10 editWrap\">\r\n");
      out.write("\t         <tbody>\r\n");
      out.write("\t         \t<tr>\r\n");
      out.write("\t              <td colspan=\"2\" width=\"250px\" class=\"tr _73737a \">\r\n");
      out.write("\t              \t\t<span class=\"cm-w50p\">订单号：");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${consumer.orderno}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</span>\r\n");
      out.write("\t              \t\t<span class=\"cm-w50p\">订单金额：");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${consumer.amount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</span></td>\r\n");
      out.write("\t           </tr>\r\n");
      out.write("\t           \t<tr>\r\n");
      out.write("\t              <td width=\"88px\" class=\"tr _73737a \">红冲金额：</td>\r\n");
      out.write("\t              <td class=\"_5e5e5e\"> \r\n");
      out.write("\t              \t\t");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${consumer.amount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t           </tr>\r\n");
      out.write("\t           <tr>\r\n");
      out.write("\t              <td width=\"88px\" class=\"tr _73737a\"><label class=\"cm-required\">*</label>原因说明：</td>\r\n");
      out.write("\t              <td class=\"_5e5e5e\"><textarea name=\"remark\" class=\"table-input data-edit-input box-sizing {required:true}\" style=\"height:60px\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${deduct.remark}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</textarea></td>\r\n");
      out.write("\t           </tr>\r\n");
      out.write("\t           <tr>\r\n");
      out.write("\t              <td width=\"88px\" class=\"tr _73737a \"><label class=\"cm-required\">*</label>金额：</td>\r\n");
      out.write("\t              <td class=\"_5e5e5e\"> \r\n");
      out.write("\t              \t\t<input type=\"number\" name=\"newamount\" id=\"amount\" value=\"\" data-title=\"\"  class=\"cm-w10p cm-w50p table-input {required:true}\" data-format=\"_required\" />\r\n");
      out.write("\t              \t\t(订单实际消费)\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t           </tr>\r\n");
      out.write("\t         </tbody>\r\n");
      out.write("\t      </table>\r\n");
      out.write("\t      <p><input type=\"checkbox\" name=\"issend\" value=\"1\"/>是否发送短信</p>\r\n");
      out.write("\t\t  <br />\r\n");
      out.write("\t      <p  class=\"\">\r\n");
      out.write("\t      \t\t<input type=\"button\" id=\"saveBtn\" class=\"cm-btn cm-btn-green cm-iBlcok cm-border0\" value=\"保存\" onclick=\"submit_red_recharge()\">\r\n");
      out.write("\t      </p>\r\n");
      out.write("\t   </div>\r\n");
      out.write("</form>\r\n");
      out.write("    </div>\r\n");
      out.write("  </div>\r\n");
      out.write("  \r\n");
      out.write(" ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/platform/include/page_edit_footer.jsp", out, false);
      out.write("\r\n");
      out.write("  <script src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${platform}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("/js/core/base.js\"></script>\r\n");
      out.write("  <script >\r\n");
      out.write("  function submit_red_recharge(){\r\n");
      out.write("\t  var $amount=$(\"#amount\").val();\r\n");
      out.write("\t  if($amount<0){\r\n");
      out.write("\t\t  $.messager.show(\"金额数必须大于0\");\r\n");
      out.write("\t\t  return;\r\n");
      out.write("\t  }\r\n");
      out.write("\t  window.Util.dialog.confirm(function(reslut){\r\n");
      out.write("\t\t\tif(reslut){\r\n");
      out.write("\t\t\t\t$(\"#sub_from\").submit();\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t},'你确认要执行此操作吗?');\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\r\n");
      out.write("\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
